package com.fm.objectModal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 服务
 * Created by Administrator on 2018/8/6 0006.
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Service {
    private String identifier;

    private String name;

    private String desc;

    private Boolean required;//是否是标准功能的必选服务

    private List<Property> inputData;

    private List<Property> outputData;

    private String method;//服务对应的方法名称(根据identifier生成)

    private String callType;//服务回调方式，async异步，sync同步
}
